/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.controller;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 统一错误
 * @author pro
 *
 */
@Controller
@RequestMapping("error")
public class ErrorController {

	@RequestMapping("error")
	public String error(Map<String,Object> data){
		
		return "error/error";
	}
	
	@RequestMapping("nomoney")
	public String noMoney(Map<String,Object> data){
		
		return "error/nomoney";
	}
	
}
